package com.ruoyi.logCen.service.impl;

import com.ruoyi.logCen.mapper.DorisMapper;
import com.ruoyi.logCen.service.DorisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;


@Service
public class DorisServiceImpl implements DorisService {

    @Autowired
    private DorisMapper dorisMapper;

    @Override
    public void insertConsumeKafkaLog(Map<String, Object> consumeKafkaLog) {
        dorisMapper.insertConsumeKafkaLog(consumeKafkaLog);
    }

    @Override
    public void insertAnalysisLog(String sqlStr) {
        dorisMapper.insertAnalysisLog(sqlStr);
    }
}
